import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入element-ui库
import ElementUi from "element-ui"
// 引入样式
import "element-ui/lib/theme-chalk/index.css"

// 引入全局组件
import elCom from "./common/index"
for(let i in elCom){
  Vue.component(i,elCom[i])
}
// 引入echarts
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts

Vue.use(ElementUi)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
